package com.github.base.dto.permission;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @program: base
 * @description: 资源拖动DTO
 * @author: hui.zhang
 * @date: 2021/1/28 5:14 下午
 **/

@Data
public class PermissionMoveDTO {

    @NotBlank(message = "id不能为空")
    @Schema(description = "第一个资源id", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer fId;

    @NotBlank(message = "id不能为空")
    @Schema(description = "第二个资源id", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer sId;
}
